package systems.dla 
{
	import flash.geom.Point;
	/**
	 * @author Nicolas Barradeau
	 * http://en.nicoptere.net
	 */
	public class DLAParticle extends Point
	{
		
		private var _velocity:Point = new Point();
		
		public function DLAParticle( x:Number = 0, y:Number = 0 ) 
		{
			this.x = x;
			this.y = y;
		}
		
		public function update():void
		{
			
			x += velocity.x;
			y += velocity.y;
			
		}
		
		public function get velocity():Point { return _velocity; }
		
		public function set velocity(value:Point):void 
		{
			_velocity = value;
		}
	}

}